package com.example.octopus.entity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class ListInfo<T> {
    List<Object> rlist=new ArrayList();
     public ListInfo(Map<String, Object> map){
        try{
        String name=map.get("name").toString();
        rlist.add(name);
        String avatar=map.get("avatar").toString();
        rlist.add(avatar);
        String openid=map.get("openid").toString();
        rlist.add(openid);
        }catch (NullPointerException e){

        }
     }
    public List<Object> getlist(){
         return rlist;
    }

}

